package com.jeesite.modules.fl.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.fl.entity.Clinic;
import com.jeesite.modules.sys.entity.Area;

@MyBatisDao
public interface ClinicDao extends CrudDao<Clinic>{
	public List<Clinic> findByName(@Param("name")String name);
	public List<Area> getAreas(@Param("enterpriseId")String enterpriseId, @Param("allowSchedule")String allowSchedule);
	public List<Clinic> findByLoginAreaCode(@Param("areaCode")String areaCode, @Param("enterpriseId")String enterpriseId, @Param("allowSchedule")String allowSchedule);
	public List<Clinic> findByAreaCode(@Param("areaCode")String areaCode, @Param("allowSchedule")String allowSchedule);
}
